package com.haoran.dwz.siteminder;

/**
 * 配置文件常量类
 * @author lyj 2015年12月9日
 *
 */
public class PropertyConstant {

	public static final String[] configFileNames = { "/com/kye/openapi/META-INF/config.properties" };
	public static final PropertyManager propertyManager = PropertyManager.load(
			configFileNames, PropertyConstant.class);
	public static final String RETURN_URL = propertyManager.getString("return_url");
	public static final String NOTIFY_URL = propertyManager.getString("notify_url");
	public static final String ALIPAY_LOG_PATH = propertyManager.getString("ALIPAY_LOG_PATH");
	public static final String NOTIFY_PATH = propertyManager.getString("NOTIFY_PATH");

	/**
	 * openApi webService接口地址
	 */
	public static String KYE_SERVICE_ADDR = propertyManager.getString("KYE_SERVICE_ADDR");
	
	/**
	 * 登陆接口WebLoginWithKey中key入参
	 */
	public static String INTF_LOGIN_KEY = propertyManager.getString("INTF_LOGIN_KEY");
	
	/**
	 * 登陆接口WebLoginWithKey中logintype入参
	 */
	public static String INTF_LOGIN_LOGINTYPE = propertyManager.getString("INTF_LOGIN_LOGINTYPE");
	
	/**
	 * access_token_key
	 * 鉴权秘钥（逗号隔开多个秘钥拼接而成）
	 * 例子：101,liyongjun|102,zhangsan
	 * 解释：机构1,key1|机构2,key2
	 */
	public static String ACCESS_TOKEN_KEY = propertyManager.getString("ACCESS_TOKEN_KEY");
	
	/**
	 * 鉴权时间校验标识
	 */
	public static String ACCESS_TIME_CHECK_FLAG = propertyManager.getString("ACCESS_TIME_CHECK_FLAG");
	
	/**
	 * JPUSH 注册时masterSecret
	 */
	public static String JPUSH_MASTER_SECRET = propertyManager.getString("JPUSH_MASTER_SECRET");
	
	/**
	 * JPush 注册时appKey
	 */
	public static String JPUSH_APP_KEY = propertyManager.getString("JPUSH_APP_KEY");
	
	/**
	 * 后台业务系统地址
	 */
	public static String KYE_BUSINESS_SYS_ADDR = propertyManager.getString("KYE_BUSINESS_SYS_ADDR");
	
	/**
	 * 文件存留有效分钟
	 */
	public static int FILE_AFTER_MINUTE = propertyManager.getInt("FILE_AFTER_MINUTE");
	
	/**
	 * 文件存放目录
	 */
	public static String FILE_SAVE_PATH = propertyManager.getString("FILE_SAVE_PATH");
	
	/**
	 * 文件存放目录
	 * 0：close 关闭
	 * 1：open 打开
	 */
	public static int FILE_OPER_FLAG = propertyManager.getInt("FILE_OPER_FLAG");
	
	/**
	 * openApi icustWebService接口地址
	 */
	public static String KYE_ICUST_SERVICE_ADDR = propertyManager.getString("KYE_ICUST_SERVICE_ADDR");

	/**
	 * 允许第三方访问的指定接口
	 */
	public static String FORGIN_REQUEST_PERMIT_INTERFACE = propertyManager.getString("FORGIN_REQUEST_PERMIT_INTERFACE");


	public static String KYE_CLOUD_STORAGE_SERVICE_ADDR = propertyManager.getString("KYE_CLOUD_STORAGE_SERVICE_ADDR");
	
	/**
	 * app帮助-访问网页URL
	 */
	public static String APP_ACCESS_URL = propertyManager.getString("APP_ACCESS_URL");
	
	/**
	 * IOS 极光推送环境 0-dev 1-product
	 */
	public static String JPUSH_IOS_ENV = propertyManager.getString("JPUSH_IOS_ENV");

	/**
	 * 百度地图key
	 */
	public static String BAIDUMAP_KEY = propertyManager.getString("BAIDUMAP_KEY");

	/**
	 * 百度地图-地址、坐标转换接口请求地址
	 */
	public static String BAIDUMAP_GEOCODER_ADDR = propertyManager.getString("BAIDUMAP_GEOCODER_ADDR");

	/**
	 * 百度地图-计算距离接口请求地址
	 */
	public static String BAIDUMAP_OUTEMATRIX_ADDR = propertyManager.getString("BAIDUMAP_OUTEMATRIX_ADDR");

	/**
	 * 百度地图-坐标转换接口
	 */
	public static String BAIDUMAP_GEOCONV_ADDR = propertyManager.getString("BAIDUMAP_GEOCONV_ADDR");

	/**
	 * 百度地图-路线规划接口
	 */
	public static String BAIDUMAP_DIRECTION_ADDR = propertyManager.getString("BAIDUMAP_DIRECTION_ADDR");

	/**
	 * 百度地图-地址信息提示接口
	 */
	public static String BAIDUMAP_SUGGESTION_ADDR = propertyManager.getString("BAIDUMAP_SUGGESTION_ADDR");
	
	/**
	 * 微信支付回调通知url
	 */
	public static String WXPAY_SUCCESS_NOTIFY = propertyManager.getString("WXPAY_SUCCESS_NOTIFY");
	
	
	/**
	 * 微信大闸蟹支付回调通知url
	 */
	public static String WXDZXPAY_SUCCESS_NOTIFY = propertyManager.getString("WXDZXPAY_SUCCESS_NOTIFY");
	

	/**
	 * 微信运费 支付回调通知url
	 */
	public static String WAYBILLPAY_SUCCESS_NOTIFY = propertyManager.getString("WAYBILLPAY_SUCCESS_NOTIFY");

	/**
	 * AppResource Service接口地址
	 */
	public static String KYE_APPRESOURCESERVICE_SERVICE_ADDR = propertyManager.getString("KYE_APPRESOURCESERVICE_SERVICE_ADDR");
	
	/**
	 * 外部微信组接口-- Service接口地址
	 */
	public static String KYE_WX_SERVICE_ADDR = propertyManager.getString("KYE_WX_SERVICE_ADDR");

	/**
	 * 巴枪接口-- Service接口地址
	 */
	public static String KYE_GUN_SERVER_ADDR = propertyManager.getString("KYE_GUN_SERVER_ADDR");

	/**
	 * 航信-开票接口地址
	 */
	public static String KYE_MAKE_INVOICE_URL = propertyManager.getString("KYE_MAKE_INVOICE_URL");

	/**
	 * 航信-开票接口用户名
	 */
	public static String KYE_MAKE_INVOICE_USERNAME = propertyManager.getString("KYE_MAKE_INVOICE_USERNAME");

	/**
	 * 航信-开票接口开关  0-测试 1-正式
	 */
	public static String KYE_MAKE_INVOICE_SWITCH = propertyManager.getString("KYE_MAKE_INVOICE_SWITCH");

	/**
	 * 航信-开票接口密码
	 */
	public static String KYE_MAKE_INVOICE_PASSWORD = propertyManager.getString("KYE_MAKE_INVOICE_PASSWORD");
	
	/**
	 * 百望-电子发票-请求地址
	 */
	public static String KYE_FAPIAO_URL = propertyManager.getString("KYE_FAPIAO_URL");

	/**
	 * 百望-电子发票-证书地址
	 */
	public static String KYE_FAPIAO_SSL_STORE_PATH = propertyManager.getString("KYE_FAPIAO_SSL_STORE_PATH");

	/**
	 * 百望-电子发票-认证密码
	 */
	public static String KYE_FAPIAO_SSL_PWD = propertyManager.getString("KYE_FAPIAO_SSL_PWD");

	/**
	 * openApi webService主机地址
	 */
	public static String KYE_SERVICE_HOST = propertyManager.getString("KYE_SERVICE_HOST");

	/**
	 * 当前环境(测试:0 正式:1)
	 */
	public static String KYE_CONFIG_ENVIRONMENT =propertyManager.getString("KYE_CONFIG_ENVIRONMENT");

	/**
	 * 内部云仓主机地址
	 */
	public static String KYE_YUN_CANG_HOST =propertyManager.getString("KYE_YUN_CANG_HOST");
	public static String KYE_YUN_CANG_ORGCODE=propertyManager.getString("KYE_YUN_CANG_ORGCODE");
	public static String KYE_YUN_CANG_ORGKEY=propertyManager.getString("KYE_YUN_CANG_ORGKEY");
}
